import Taro, { Component } from "@tarojs/taro";
import { connect } from "@tarojs/redux";

import NoticeBar from '../NoticeBar/noticeBar'

@connect(
  state => {
    return {
      checkPlan:state.checkPlan,
      user:state.user
    }
  }
  )
class CurrentPlanNotice extends Component {
  render() {
    return (
      <NoticeBar checkPlan={this.props.checkPlan} user={this.props.user}/>
    );
  }
}

export default CurrentPlanNotice;
